class Robot():
    number=5
    def __init__(self, name, location, birth_year):
        self.name = name
        self.location = location
        self.birth_year = birth_year
        self.age = self._caculate_age()
        self.number = Robot.number
        Robot.number +=1

    def say_hi(self):
        print("Hallo", self.name)

    def _caculate_age(self):
        return 2014 - self.birth_year

    def __del__(self):
        print ("Robot destoryed")

    def __str__(self):
        return "Name: "+self.name+ "\nLocation: " + self.location
